<?php
/*
+--------------------------------------------------------------------------
|   Anwsion [#RELEASE_VERSION#]
|   ========================================
|   by Tatfook Network Team
|   (c) 2011 - 2012 Anwsion Software
|   http://www.anwsion.com
|   ========================================
|   Support: zhengqiang@gmail.com
|   
+---------------------------------------------------------------------------
*/

include_once('system/system.php');

if (defined('G_INDEX_SCRIPT'))
{
	if (!$app_dir = load_class('core_uri')->set_rewrite()->app_dir)
	{
		$app_dir = AWS_PATH . '../app/home/';
	}
}
else
{
	show_error('G_INDEX_SCRIPT not defined');
}
 
AWS_APP::run($app_dir);